package com.imooc.entity.factory;

import com.imooc.entity.User;
import org.springframework.beans.factory.FactoryBean;

/**
 * <h1></h1>
 *
 * @author : dzj
 * @create: 2021-11-04 23:06
 */
public class UserFactoryBean implements FactoryBean<User> {


	@Override
	public User getObject() throws Exception {
		return new User("FactoryBean");
	}

	@Override
	public Class<?> getObjectType() {
		return User.class;
	}
}
